math/big.Float.neg (field)
87 uses
math/big (current package)
float.go#L70: neg bool
float.go#L172: z.acc = makeAcc(z.neg)
float.go#L246: if x.neg {
float.go#L286: z.acc = makeAcc(z.neg)
float.go#L293: z.acc = makeAcc(!z.neg)
float.go#L336: return x.neg
float.go#L461: inc = z.neg
float.go#L471: inc = !z.neg
float.go#L479: z.acc = makeAcc(inc != z.neg)
float.go#L513: z.neg = neg
float.go#L560: z.neg = math.Signbit(x) // handle -0, -Inf correctly
float.go#L609: z.neg = x.neg
float.go#L644: z.neg = signbit
float.go#L661: z.neg = x.neg
float.go#L687: z.neg = x.neg
float.go#L748: if x.neg {
float.go#L772: if x.neg {
float.go#L794: acc := makeAcc(x.neg)
float.go#L805: if x.neg {
float.go#L813: if x.neg {
float.go#L827: if x.neg {
float.go#L880: if x.neg {
float.go#L890: if x.neg {
float.go#L909: if x.neg {
float.go#L918: if x.neg {
float.go#L940: if x.neg {
float.go#L947: if x.neg {
float.go#L1000: if x.neg {
float.go#L1010: if x.neg {
float.go#L1029: if x.neg {
float.go#L1038: if x.neg {
float.go#L1060: if x.neg {
float.go#L1067: if x.neg {
float.go#L1094: acc := makeAcc(x.neg)
float.go#L1112: z.neg = x.neg
float.go#L1127: return nil, makeAcc(x.neg)
float.go#L1152: z.a.neg = x.neg
float.go#L1174: return nil, makeAcc(x.neg)
float.go#L1184: z.neg = false
float.go#L1192: z.neg = !z.neg
float.go#L1308: z.neg = false
float.go#L1467: yneg := y.neg
float.go#L1469: z.neg = x.neg
float.go#L1470: if x.neg == yneg {
float.go#L1480: z.neg = !z.neg
float.go#L1485: z.neg = true
float.go#L1490: if x.form == inf && y.form == inf && x.neg != y.neg {
float.go#L1496: z.neg = false
float.go#L1504: z.neg = x.neg && y.neg // -0 + -0 == -0
float.go#L1535: yneg := y.neg
float.go#L1536: z.neg = x.neg
float.go#L1537: if x.neg != yneg {
float.go#L1547: z.neg = !z.neg
float.go#L1552: z.neg = true
float.go#L1557: if x.form == inf && y.form == inf && x.neg == y.neg {
float.go#L1563: z.neg = false
float.go#L1571: z.neg = x.neg && !y.neg // -0 - +0 == -0
float.go#L1600: z.neg = x.neg != y.neg
float.go#L1614: z.neg = false
float.go#L1645: z.neg = x.neg != y.neg
float.go#L1659: z.neg = false
float.go#L1725: if x.neg {
floatconv.go#L43: z.neg, err = scanSign(r)
floatmarsh.go#L47: if x.neg {
floatmarsh.go#L86: z.neg = b&1 != 0
ftoa.go#L65: if x.neg {
ftoa.go#L71: if !x.neg {
ftoa.go#L163: if x.neg {
sqrt.go#L51: z.neg = x.neg // IEEE754-2008 requires √±0 = ±0
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |